home *** CD-ROM | disk | FTP | other *** search
- @echo off
- REM - Here we handle the comment insertion...
- IF %2 == ZIP pkzip -z %1 <comment.txt
- IF %2 == ARJ arj c -zcomment.txt %1
-
- REM - Now, we try to send any description files to the Robocomm directory...
- IF %2 == ZIP pkunzip %1 %ROBODIR% file_id.diz desc.sdi
- IF ERRORLEVEL 1 GOTO ERROR
- IF %2 == LZH lha e %1 %ROBODIR% file_id.diz desc.sdi
- IF ERRORLEVEL 1 GOTO ERROR
- IF %2 == ARJ arj e %1 %ROBODIR% file_id.diz desc.sdi
- IF ERRORLEVEL 1 GOTO ERROR
- GOTO END
-
- :ERROR
- CLS
- ECHO No FILE_ID.DIZ or DESC.SDI file was found.
-
- :END
-